package com.huawei.hms.support.api.sns.json;

import android.app.Activity;
import android.content.Context;
import com.huawei.hms.utils.Checker;

public class Sns {
    private Sns() {
    }

    public static SnsClient getSnsClient(Activity activity, SnsOptions snsOptions) {
        Checker.assertNonNull(activity);
        return new SnsClientImpl(activity, snsOptions);
    }

    public static SnsClient getSnsClient(Context context, SnsOptions snsOptions) {
        Checker.assertNonNull(context);
        return new SnsClientImpl(context, snsOptions);
    }
}
